package com.yfqy.app.domain.mapper;

import com.yfqy.app.domain.entity.OrderPayment;
import org.apache.ibatis.annotations.Param;

public interface OrderPaymentMapper {

    int insert(OrderPayment record);

    OrderPayment selectByPrimaryKey(Long id);

    OrderPayment selectByOrderId(@Param("orderId") Long orderId);

    int updatePaymentByPayCallback(@Param("updatePayment") OrderPayment updatePayment);

}